<#if isWithPackage?exists && isWithPackage==true>package ${packageName}.${moduleName}.qo;</#if>

<#if isAutoImport?exists && isAutoImport==true>
import java.io.Serializable;
import lombok.Data;
import lombok.ToString;
import java.util.Date;
import java.util.List;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import ${packageName}.qo.Page;
</#if>
/**
 * @description ${classInfo.classComment}
 * @author ${authorName}
 * @date ${.now?string('yyyy-MM-dd')}
 */
<#if isLombok?exists && isLombok==true>
@Data
@ToString
</#if>
<#if isSwagger?exists && isSwagger==true>
@ApiModel("${classInfo.classComment}")</#if>
public class ${classInfo.className}Condition extends Page {
<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
<#list classInfo.fieldList as fieldItem >
    <#if isComment?exists && isComment==true>/**
    * ${fieldItem.fieldComment}
    */</#if><#if isSwagger?exists && isSwagger==true>
    @ApiModelProperty("${fieldItem.fieldComment}")</#if>
    private ${fieldItem.fieldClass} ${fieldItem.fieldName};

</#list>
    public ${classInfo.className}Condition() {
    }
</#if>
<#if isLombok?exists && isLombok==false>
    <#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
        <#list classInfo.fieldList as fieldItem >
            <#if fieldItem.fieldName == "id">
            <#else>
                public ${fieldItem.fieldClass} get${fieldItem.fieldName?cap_first}() {
                return ${fieldItem.fieldName};
                }

                public void set${fieldItem.fieldName?cap_first}(${fieldItem.fieldClass} ${fieldItem.fieldName}) {
                this.${fieldItem.fieldName} = ${fieldItem.fieldName};
                }
            </#if>
        </#list>
    </#if>
</#if>
}
